package com.bruce.pattern.structural.flyweight;

import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

/**
 * Created by bruce on 2018/11/4 21:11
 */
@Slf4j
public class Manager implements Employee {

    private String dept;

    @Setter
    private String reportContent;

    public Manager(String dept) {
        this.dept = dept;
    }

    @Override
    public void report() {
        log.info("部门:" + dept + " 报告:" + reportContent);
    }
}
